/**
 /**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 *

 *
 * 版权所有，侵权必究！
 */

package io.api.modules.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * 用户信息
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "用户信息")
public class UserInfoDTO {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户名呢称")
    private String username;

    @ApiModelProperty(value = "手机号账号")
    private String mobile;

    @ApiModelProperty(value = "用户角色（1施工人员,2施工负责人，管理人员）")
    private Integer userrole;

    @ApiModelProperty(value = "用户头像")
    private String url;

}